#!/bin/bash
#chmod +x nagcent

echo "###############   ###   ####        ###";
echo "###############   ###   ### ##      ###";
echo "###               ###   ###  ##     ###";
echo "###############   ###   ###   ##    ###";
echo "###############   ###   ###    ##   ###";
echo "            ###   ###   ###     ##  ###";
echo "###############   ###   ###      ## ###";
echo "###############   ###   ###        ####";

os="0"

if [ "${os}" = "0" ]
then
	tmpOS=`cat /proc/version | head -n 1 | grep "Debian"`;
	sysexp="";
	if [ "$tmpOS" != "" ]
	then
		sysexp="1";
	fi
	
	tmpOS=`cat /etc/*release | head -n 1 | grep "Ubuntu"`;
	if [ "$tmpOS" != "" ]
	then
		sysexp="2";
	fi	
	
	tmpOS=`cat /etc/*release | head -n 1 | grep "CentOS"`;
	if [ "$tmpOS" != "" ]
	then
		sysexp="3";
	fi	
	
if [ "${sysexp}" = "1" ]
then 
	